package cn.com.huaxun.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.com.huaxun.module.user.entity.StudentEntity;

import java.util.Map;

/**
 * 
 *
 * @author jack
 * @email 195827613@qq.com
 * @date 2018-12-29 11:23:23
 */
public interface StudentService extends IService<StudentEntity> {

    /**
     * @description 插入学生
     * @method  insertStudent
     * @param  [studentEntity]
     * @return void
     * @date: 2018/12/29 13:59
     * @author:zhoujinbing
     */
    void insertStudent(StudentEntity studentEntity);

    /**
     * @description 根据ID查询对象
     * @method  selectById
     * @param  [id]
     * @return cn.com.huaxun.module.user.entity.StudentEntity
     * @date: 2018/12/29 14:02
     * @author:zhoujinbing
     */
    StudentEntity selectById(Long id);

    /**
     * @description kafka发送消息
     * @method  sendKafkaMessage
     * @param  [topic, studentEntity]
     * @return void
     * @date: 2019/1/2 17:07
     * @author:zhoujinbing
     */
    void sendKafkaMessage(String topic,StudentEntity studentEntity);


}

